import request from '@/router/axios';

export const getErrorList = (current, size, params) => {
  return request({
    url: '/system/log/error/list',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  })
}

export const getErrorLogs = (id) => {
  return request({
    url: '/system/log/error/detail',
    method: 'get',
    params: {
      id,
    }
  })
}

